From: Keir Fraser Date: Tue, 30 Mar 2010 07:31:52 +0000 (+0100) Subject: x86: Remove redundant clear for cpu_online_map. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12462 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=e1a5597bc844d14d4d46a88b301b9cea39729634;p=xen.git x86: Remove redundant clear for cpu_online_map. Remove it, maybe caused by accident diff operation. Signed-off-by: Xiantao Zhang --- diff --git a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c index fcac97419a..0fb829028e 100644 --- a/xen/arch/x86/smpboot.c +++ b/xen/arch/x86/smpboot.c @@ -1302,10 +1302,9 @@ int __cpu_disable(void) remove_siblinginfo(cpu); - cpu_clear(cpu, cpu_online_map); - fixup_irqs(); /* It's now safe to remove this processor from the online map */ cpu_clear(cpu, cpu_online_map); + fixup_irqs(); cpu_disable_scheduler();